package cn.group.hotel2.pojo.vo;


import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.sql.Date;
import java.time.LocalDateTime;


@Data
public class OrderListItemVO implements Serializable {

    @ApiModelProperty("订单id")
    private Long id;
    @ApiModelProperty("订单编号")
    private String orderNum;
    @ApiModelProperty("房间标题")
    private String title;
    @ApiModelProperty("房间号")
    private String roomNum;
    @ApiModelProperty("房间价格")
    private Double price;
    @ApiModelProperty("顾客姓名")
    private String name;
    @ApiModelProperty("顾客手机")
    private String phone;
    @ApiModelProperty("顾客身份证")
    private String identityCard;
    @ApiModelProperty("预约入住时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime bookCheckIn;
    @ApiModelProperty("预约退房时间")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private LocalDateTime bookCheckOut;
    @ApiModelProperty("订单总价")
    private Double sumPrice;
    @ApiModelProperty("订单状态")
    private Integer status;
    @ApiModelProperty("订单创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private LocalDateTime gmtCreate;


}
